
export const setParams = (params) => {
  if (params) {
    sessionStorage.setItem('crm-params', JSON.stringify(params))
  }
}

export const getParams = () => {
  const params = sessionStorage.getItem('crm-params')
  sessionStorage.removeItem('crm-params')
  return JSON.parse(params)
}

